package com.bsoft.gol.hcs.visitrecord.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * 取药记录
 * Created by ChenJij on 2020/9/4.
 */
@Entity
@Table(name = "vr_dispensing_record")
public class VrDispensingRecord {
    private String distributionId;
    private String clinicDistributionId;
    private String pharmacyCode;
    private String pharmacyName;
    private String windowNumber;
    private String windowName;
    private Date dispensingDate;
    private String prescriptionId;
    private Date prescriptionTime;
    private String prescriptionType;
    private String invoiceNumber;
    private String identificationNumber;
    private String patientType;
    private String patientNature;
    private String patientId;
    private String patientName;
    private String patientSex;
    private Date patientBirthday;
    private Byte patientAge;
    private String patientAgeText;
    private String cardType;
    private String cardNumber;
    private String patientMedicalCardType;
    private String patientMedicalCardNumber;
    private String telephone;
    private String address;
    private String organizationId;
    private String organizationName;
    private String departmentId;
    private String departmentName;
    private String doctorId;
    private String doctorName;
    private String satisfactionStatus;
    private int surveyNumber;
    private int finishNumber;
    private String companionName;
    private String companionRelationship;
    private String companionPhone;
    private String deleteFlag;
    private Date createTime;
    private Date modifyTime;

    @Id
    @Column(name = "distribution_id")
    public String getDistributionId() {
        return distributionId;
    }

    public void setDistributionId(String distributionId) {
        this.distributionId = distributionId;
    }

    @Basic
    @Column(name = "clinic_distribution_id")
    public String getClinicDistributionId() {
        return clinicDistributionId;
    }

    public void setClinicDistributionId(String clinicDistributionId) {
        this.clinicDistributionId = clinicDistributionId;
    }

    @Basic
    @Column(name = "pharmacy_code")
    public String getPharmacyCode() {
        return pharmacyCode;
    }

    public void setPharmacyCode(String pharmacyCode) {
        this.pharmacyCode = pharmacyCode;
    }

    @Basic
    @Column(name = "pharmacy_name")
    public String getPharmacyName() {
        return pharmacyName;
    }

    public void setPharmacyName(String pharmacyName) {
        this.pharmacyName = pharmacyName;
    }

    @Basic
    @Column(name = "window_number")
    public String getWindowNumber() {
        return windowNumber;
    }

    public void setWindowNumber(String windowNumber) {
        this.windowNumber = windowNumber;
    }

    @Basic
    @Column(name = "window_name")
    public String getWindowName() {
        return windowName;
    }

    public void setWindowName(String windowName) {
        this.windowName = windowName;
    }

    @Basic
    @Column(name = "dispensing_date")
    public Date getDispensingDate() {
        return dispensingDate;
    }

    public void setDispensingDate(Date dispensingDate) {
        this.dispensingDate = dispensingDate;
    }

    @Basic
    @Column(name = "prescription_id")
    public String getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(String prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    @Basic
    @Column(name = "prescription_time")
    public Date getPrescriptionTime() {
        return prescriptionTime;
    }

    public void setPrescriptionTime(Date prescriptionTime) {
        this.prescriptionTime = prescriptionTime;
    }

    @Basic
    @Column(name = "prescription_type")
    public String getPrescriptionType() {
        return prescriptionType;
    }

    public void setPrescriptionType(String prescriptionType) {
        this.prescriptionType = prescriptionType;
    }

    @Basic
    @Column(name = "invoice_number")
    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    @Basic
    @Column(name = "identification_number")
    public String getIdentificationNumber() {
        return identificationNumber;
    }

    public void setIdentificationNumber(String identificationNumber) {
        this.identificationNumber = identificationNumber;
    }

    @Basic
    @Column(name = "patient_type")
    public String getPatientType() {
        return patientType;
    }

    public void setPatientType(String patientType) {
        this.patientType = patientType;
    }

    @Basic
    @Column(name = "patient_nature")
    public String getPatientNature() {
        return patientNature;
    }

    public void setPatientNature(String patientNature) {
        this.patientNature = patientNature;
    }

    @Basic
    @Column(name = "patient_id")
    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    @Basic
    @Column(name = "patient_name")
    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    @Basic
    @Column(name = "patient_sex")
    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    @Basic
    @Column(name = "patient_birthday")
    public Date getPatientBirthday() {
        return patientBirthday;
    }

    public void setPatientBirthday(Date patientBirthday) {
        this.patientBirthday = patientBirthday;
    }

    @Basic
    @Column(name = "patient_age")
    public Byte getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Byte patientAge) {
        this.patientAge = patientAge;
    }

    @Basic
    @Column(name = "card_type")
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @Basic
    @Column(name = "card_number")
    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    @Basic
    @Column(name = "patient_medical_card_type")
    public String getPatientMedicalCardType() {
        return patientMedicalCardType;
    }

    public void setPatientMedicalCardType(String patientMedicalCardType) {
        this.patientMedicalCardType = patientMedicalCardType;
    }

    @Basic
    @Column(name = "patient_medical_card_number")
    public String getPatientMedicalCardNumber() {
        return patientMedicalCardNumber;
    }

    public void setPatientMedicalCardNumber(String patientMedicalCardNumber) {
        this.patientMedicalCardNumber = patientMedicalCardNumber;
    }

    @Basic
    @Column(name = "telephone")
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Basic
    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Basic
    @Column(name = "organization_id")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @Basic
    @Column(name = "organization_name")
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    @Basic
    @Column(name = "department_id")
    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    @Basic
    @Column(name = "department_name")
    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Basic
    @Column(name = "satisfaction_status")
    public String getSatisfactionStatus() {
        return satisfactionStatus;
    }

    public void setSatisfactionStatus(String satisfactionStatus) {
        this.satisfactionStatus = satisfactionStatus;
    }

    @Basic
    @Column(name = "survey_number")
    public int getSurveyNumber() {
        return surveyNumber;
    }

    public void setSurveyNumber(int surveyNumber) {
        this.surveyNumber = surveyNumber;
    }

    @Basic
    @Column(name = "finish_number")
    public int getFinishNumber() {
        return finishNumber;
    }

    public void setFinishNumber(int finishNumber) {
        this.finishNumber = finishNumber;
    }

    @Basic
    @Column(name = "doctor_id")
    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    @Basic
    @Column(name = "doctor_name")
    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    @Basic
    @Column(name = "companion_name")
    public String getCompanionName() {
        return companionName;
    }

    public void setCompanionName(String companionName) {
        this.companionName = companionName;
    }

    @Basic
    @Column(name = "companion_relationship")
    public String getCompanionRelationship() {
        return companionRelationship;
    }

    public void setCompanionRelationship(String companionRelationship) {
        this.companionRelationship = companionRelationship;
    }

    @Basic
    @Column(name = "companion_phone")
    public String getCompanionPhone() {
        return companionPhone;
    }

    public void setCompanionPhone(String companionPhone) {
        this.companionPhone = companionPhone;
    }

    @Basic
    @Column(name = "patient_age_text")
    public String getPatientAgeText() {
        return patientAgeText;
    }

    public void setPatientAgeText(String patientAgeText) {
        this.patientAgeText = patientAgeText;
    }
    @Basic
    @Column(name = "delete_flag")
    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "modify_time")
    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}